package com.example.ojcodesandbox.impl;

import com.example.ojcodesandbox.codesandbox.AbstractNotCompileTemplate;
import com.example.ojcommon.common.ExecuteCodeRequest;
import com.example.ojcommon.common.ExecuteCodeResponse;

public class GoDockerCodeSandbox extends AbstractNotCompileTemplate {

    @Override
    public ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest) {
        return super.executeCode(executeCodeRequest,"golang:latest",new String[]{"go","run","/app/Main.go"});
    }
}
